package unilearn.vo;

public class StudentGroup implements java.io.Serializable {

    private Integer id;
    private String subjectCode;
    private int assignmentId;

    public StudentGroup() {
        id = -1;
        assignmentId = -1;
    }

    public StudentGroup(String subjectCode, int assignmentId) {
        this.subjectCode = subjectCode;
        this.assignmentId = assignmentId;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubjectCode() {
        return this.subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public int getAssignmentId() {
        return this.assignmentId;
    }

    public void setAssignmentId(int assignmentId) {
        this.assignmentId = assignmentId;
    }

    @Override
    public String toString() {
        return "StudentGroup{" + "id=" + id + ", subjectCode=" + subjectCode + ", assignmentId=" + assignmentId + '}';
    }
}
